package com.etime.shycourse.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName AccountMyDto
 * @Description 我的提成明细数据dto
 * @Author huangwei
 * @Date 2022/7/19 14:01
 */
public class AccountMyDto {

    private String showpic;
    private String usertruename;
    private String coursepic;
    //结算对象id
    private Integer settlementuserid;
    //支付状态
    private Integer settlementpay;
    //课程名称
    private String odcoursename;
    //销售金额
    private BigDecimal settlementsale;
    //结算类型
    private Integer settlementtype;
    //提成比例
    private BigDecimal settlementpoint;
    //提成金额
    private BigDecimal settlementamount;
    //结算时间
    //时间区间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date settlementtime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date settlementpatytime;

    private Integer settlementid;

    public Integer getSettlementid() {
        return settlementid;
    }

    public void setSettlementid(Integer settlementid) {
        this.settlementid = settlementid;
    }

    public Integer getSettlementuserid() {
        return settlementuserid;
    }

    public void setSettlementuserid(Integer settlementuserid) {
        this.settlementuserid = settlementuserid;
    }

    public Integer getSettlementpay() {
        return settlementpay;
    }

    public void setSettlementpay(Integer settlementpay) {
        this.settlementpay = settlementpay;
    }

    public String getOdcoursename() {
        return odcoursename;
    }

    public void setOdcoursename(String odcoursename) {
        this.odcoursename = odcoursename;
    }

    public BigDecimal getSettlementsale() {
        return settlementsale;
    }

    public void setSettlementsale(BigDecimal settlementsale) {
        this.settlementsale = settlementsale;
    }

    public Integer getSettlementtype() {
        return settlementtype;
    }

    public void setSettlementtype(Integer settlementtype) {
        this.settlementtype = settlementtype;
    }

    public BigDecimal getSettlementpoint() {
        return settlementpoint;
    }

    public void setSettlementpoint(BigDecimal settlementpoint) {
        this.settlementpoint = settlementpoint;
    }

    public BigDecimal getSettlementamount() {
        return settlementamount;
    }

    public void setSettlementamount(BigDecimal settlementamount) {
        this.settlementamount = settlementamount;
    }

    public Date getSettlementtime() {
        return settlementtime;
    }

    public void setSettlementtime(Date settlementtime) {
        this.settlementtime = settlementtime;
    }

    public Date getSettlementpatytime() {
        return settlementpatytime;
    }

    public String getCoursepic() {
        return coursepic;
    }

    public void setCoursepic(String coursepic) {
        this.coursepic = coursepic;
    }

    public String getShowpic() {
        return showpic;
    }

    public void setShowpic(String showpic) {
        this.showpic = showpic;
    }

    public String getUsertruename() {
        return usertruename;
    }

    public void setUsertruename(String usertruename) {
        this.usertruename = usertruename;
    }

    public void setSettlementpatytime(Date settlementpatytime) {
        this.settlementpatytime = settlementpatytime;
    }
}
